<template>
  <div id="ImPatient">
    <header>
      <i @click="goBack()"></i>
      <div>我是客户</div>
    </header>
    <ul>
      <li>
        <router-link :to="{name: 'findDoctor'}">
          <h3>
            预约医生
          </h3>
          <span></span>
        </router-link>
      </li>
      <!-- <li>
                <router-link :to="{name: 'findClinic',query: {user: 'patient'}}">
                    <h3>
                        查找门诊
                    </h3>
                    <span></span>
                </router-link>
            </li> -->
      <li>
        <router-link :to="{name: 'selectClinic',query: {user: 'patient'}}">
          <h3>
            查找门诊
          </h3>
          <span></span>
        </router-link>
      </li>
      <li>
        <router-link :to="{name: 'customOrder'}">
          <h3>
            我的订单
          </h3>
          <span></span>
        </router-link>
      </li>
    </ul>
  </div>
</template>
<script>
  export default {
    data() {
      return {

      }
    },
    methods: {
      //返回上一级
      goBack() {
        this.$router.push({
          name: "doctorAuth"
        });
      },


    },
    created() {

    }
  }

</script>
<style lang="scss" scoped>


</style>
